package com.sk.bilibili.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

/**
 * @author 邵康
 * @date 2021/12/7 20:12
 * 分页信息基类
 */
@Data
public class PageInfo {

    private Integer page=1;
    private Integer size=20;

    public <T> Page<T> page(){
        return new Page<>(page,size);
    }

}
